<%--
新增违规跟进记录页面，负责新增违规跟进记录
@author <a href="mailto:chenfenghai@ceopen.cn">chenfenghai</a>
action ：renovateViolationAction
method ：addFollow
created ：2010-10-09
--%>
<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ include file="/commons/messages.jsp"%>
<%@ include file="/commons/commonEdit.jsp"%>
<%@ include file="/commons/validation.jsp"%>
<%@ include file="/commons/dateTime.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="${ctx}/scripts/div/common.js"></script>
<script language="JavaScript" type="text/javascript"
	src="${ctx}/scripts/ajaxException.js"></script>
<title>新增整改跟进</title>
<script type="text/javascript">
function followSubmit(){
    var isTrue=$('follow').fireEvent("onSubmit") ;
    if(isTrue){
	   var param = Form.serialize('follow');
       var url = "${ctx }/renovation_renovateViolationAction.do?method=addFollow";
       new Ajax.Request(url,{method: 'post',parameters :param ,onSuccess : function(response){
       		ajaxSubmitException(response.responseText);
       		if("true" == response.responseText){
	       		findFrame('followList').parent.reloadFollows();
		        windowClose();
	        }
       }});
    }
}
</script>
</head>

<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td class="window_head_outBg">
		<table border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td><img src="${ctx}/images/ico_Advance.gif" width="16"
					height="16" align="absmiddle" /> <span class="window_head_intext">新增整改跟进</span></td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td class="aux_header_line_1"></td>
	</tr>
	<tr>
		<td class="aux_header_line_2"></td>
	</tr>
	<tr>
		<td class="content">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td valign="top" class="aux_outtable_color">
				<form
					action="${ctx }/renovation_renovateViolationAction.do?method=addFollow"
					name="follow" method="post" class="required-validate"><input
					name="renovateViolationId" type="hidden"
					value="${followVO.renovateViolationId}">
				<table width="100%" border="0" cellpadding="0" cellspacing="1"
					class="aux_intable_color">
					<tr>
						<td class="aux_intable_td1">跟进人：</td>
						<td class="aux_intable_td2">${followVO.followerName}</td>
						<td class="aux_intable_td1">跟进日期：</td>
						<td class="aux_intable_td2">${followVO.followDateStr}</td>
					</tr>
					<tr>
						<td class="aux_intable_td1">跟进说明：</td>
						<td colspan="3" class="aux_intable_require_more"><textarea
							id="description" name="description" cols="50" rows="3"
							class="textareatext required max-length-50">${followVO.description }</textarea></td>
					</tr>
				</table>
				</form>
				</td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td class="window_footer">
		<table border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td>
				<table border="0" cellpadding="0" cellspacing="0"
					onclick="followSubmit();">
					<tr>
						<td class="buttonOffLeft" id="btn1_21"></td>
						<td class="buttonOffMiddle" id="btn1_22"
							onMouseOver="btn_change_over(2)" onMouseOut="btn_change_out(2)"
							onblur="btn_change(2)"><img src="${ctx}/images/ico_ok.gif"
							alt="" width="14" height="14" border="0" align="absbottom" /> 保
						存</td>
						<td class="buttonOffRight" id="btn1_23"></td>
					</tr>
				</table>
				</td>
				<td class="btn_between_space"></td>
				<td>
				<table border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td class="buttonOffLeft" id="btn1_31"></td>
						<td class="buttonOffMiddle" id="btn1_32" onClick="windowClose();"
							onMouseOver="btn_change_over(3)" onMouseOut="btn_change_out(3)"
							onblur="btn_change(3)"><img
							src="${ctx}/images/ico_cancel.gif" alt="" width="14" height="14"
							border="0" align="absbottom" /> 关 闭</td>
						<td class="buttonOffRight" id="btn1_33"></td>
					</tr>
				</table>
				</td>
			</tr>
		</table>
		<p>&nbsp;</p>
		</td>
	</tr>
</table>
</body>
</html>